package cn.kgc.mybatis.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Emp {

  private long empno;
  private String ename;
  private String job;
  private long mgr;
  private Date hiredate;
  private long sal;
  private long comm;
  private long deptno;

  // 部门信息
  private  Dept dept;

}
